EA Setup – MetaTrader 5

Click ‘Download’ in the ‘Download EA’ section in Dashboard page
image41_mt5.jpg

2. Place the EA in Experts folder

Click ‘Open data folder’ in MT5
image30_mt5.jpg

Click on MQL5 in Data Folder; then click on Experts to place the file in Experts folder
image31_mt5.jpgThen click on Experts in MQL4 folder; paste the EA file in Experts folder
image32_mt5.jpgPaste the EA file in Experts folder
image33_mt5.jpg

3. Allow WebRequest for listed URL

Click “Tools” → “Options”
Tick 'Allow algorithmic trading', 'Allow DLL imports' and add following URL:
https://tradingviewlink.com
image42_mt5.jpg

4. Enable Auto Trading

Ensure that ‘AutoTrading’ button is in green.
image40_mt5.jpg

5. Click refresh on EA section in MT5

TradingView Link EA should be appeared.
Note: You only need to run the EA on one of the charts with any timeframe in order to trade all symbols in MT5.
image35_mt5.jpg
In order to trade with the symbol through the EA, you may need to add the symbol that you would like to trade to the symbol list. The symbol is added to the list if the dollar symbol is coloured.
Pasted image 20240728223042.png

6. Set up EA and Input Parameters (TBC)

Tick 'Allow Algo Trading'
image36_mt5.jpg

For ID please input your webhook ID for TradingView Link. For other parameters, please refer to the ‘Documentation’ section. (TBC)
image44_mt5_1.jpg
image41_mt5.jpg
For example, it is needed to input 66aef1285daa12b2caa2b62d in the webhook ID field.

7. Set up webhook Password

You need to set up webhook password first before sending alert messages from Telegram / TradingView. You can generate this password from the dashboard's settings section. Simply click on 'Add Secret' to generate the password.
image37_mt5.jpg

image38_mt5.jpg
Note: Please save the password as it will not be shown again. If you forget the password, you can delete the password and generate a new one. Changing the password will require setting up the Telegram bot and TradingView alert again.

8. Set up webhook on TradingView Alert

If you would like to automate trading signals from TradingView strategies, you can copy the webhook URL in dashboard to TradingView alert section. For the syntax of TradingView alert messages, please refer to ‘Components of Alert Message’ section.
image45_mt5.jpg

You may link your webhook ID with our Telegram bot in order to send and view trading messages via our bot. Type following message to our bot to activate it for your personal use:

/setup Webhook ID Password of Webhook ID

Pasted image 20240423234322.png

Following message will be replied if the webhook ID and password are correct:
image014.jpg

Note: Once setup, it is not needed to fill in password for webhook ID when sending trading messages from Telegram

Example:
image016.jpg

10. Alert Sharing

The alert sharing feature works for MT5 to MT5 / MT4 to MT4 account only. The availability of this feature is limited to the Pro plan. This feature allows you to share alerts sent to the webhook ID of the Pro plan with specific shared targets. You can configure these shared targets within your Pro plan account by clicking on the 'add' option in the Shared Target field found in the Alert Sharing section.

image22_00.jpg
image22copy.jpg
You will get a shared target ID. Input the shared target ID on the TradingView Link EA in the MT4 trading account that you would like to share your signal to:
image23copy.jpg
Signals to the Pro account will be shared to the shared target onwards once setup.
Trading account with Pro account webhook:
image020_main webhook.jpg
Trading account with shared target ID:
image021_shared webhook.jpg

To stop the alert sharing to this target, click ‘Remove’ in the Shared Targets field.
image24copy.jpg